package com.lwc.cfdns.mapper;

import com.lwc.cfdns.pojo.entity.SystemMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lwc.cfdns.pojo.vo.system.MenuVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author spring
 * @description 针对表【cfdns_system_menu(菜单权限表)】的数据库操作Mapper
 * @createDate 2023-05-23 17:02:59
 * @Entity com.lwc.cfdns.pojo.entity.SystemMenu
 */
@Mapper
public interface SystemMenuMapper extends BaseMapper<SystemMenu> {


    /**
     * 用户权限
     *
     * @param admin_id
     * @return List<String>
     * @throws
     * @version 1.0.0
     * @author luwc
     * @time 2023/5/26 18:36:44
     */
    List<SystemMenu> getPermissionsByUserId(@Param("admin_id") Long admin_id);
}




